<?php
  namespace Lyh\Banner\Block\Widget;

  use Magento\Framework\view\Element\Template;
  use Magento\widget\Block\BlockInterface;

  class Banner extends Template implements BlockInterface
  {
    protected $_template = "widget/banner.phtml";
  }

